﻿using DataBaseLib.DAL;
using DataBaseLib.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace DataBaseLib.BLL
{
    public class StudentBLL
    {
        public StudentDAL studentDAL=new StudentDAL();

        /// <summary>
        /// 获取全部学生信息
        /// </summary>
        /// <returns></returns>
        public List<Student> GetAllStudentList()
        {
            return studentDAL.GetList();
        }

        public bool DelStudentById(int id)
        {
            return studentDAL.Delete(id);
        }
    }
}
